feat(pt-BR): add Brazilian Portuguese localization - #1265
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 2, 2026, 1:22 PM ET / 17:22 UTC. ClawSweeper reviewWhat this changesAdds Brazilian Portuguese WinUI resources, enables the pt-BR test-language override, documents the locale, and includes it in locale-specific tray tests. Merge readinessKeep open. This is a coherent, requested localization contribution that current main does not contain; the submitted resource catalog has key parity and targeted locale coverage, while current merge-head validation remains required before landing. Priority: P3 Review scores
Verification
How this fits togetherWinUI resource files supply localized text to XAML controls and runtime lookups in the Windows tray application. Windows selects the display locale, while the development override lets maintainers exercise a supported locale during testing. flowchart LR
A[Windows display locale] --> C[Locale selection]
B[Development language override] --> C
C --> D[WinUI resource catalog]
D --> E[XAML controls]
D --> F[Runtime text lookup]
E --> G[Localized tray application]
F --> G
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the locale catalog after the required merge-head build and shared/tray test subset confirms it integrates with current main. Do we have a high-confidence way to reproduce the issue? Not applicable. This PR adds a language catalog rather than repairing a reported failing behavior; a current-head Windows screenshot demonstrates the intended rendered state. Is this the best way to solve the issue? Yes. A resource catalog plus the existing locale-validation path is the repository's established localization mechanism, and the related translation call explicitly invited a pt-BR contribution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2cf875d5529a. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
|
Validated on current HEAD. Built and launched OpenClaw locally and verified pt-BR resources render in the running Companion UI. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Resolved the remaining localization documentation finding:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Superseded by #1295, which merges this PR's exact head (192b2e1) forward with current main and reconciles pt-BR against the repo's all-or-none locale policy (adds missing Ollama keys, reverts deliberately-deferred English-seeded keys that had been translated, and translates keys the other 4 non-English locales already translate). I don't have push access to this fork's branch (feat-ptbr-localization), so I couldn't fast-forward this PR directly. Closing in favor of #1295; thank you for the original contribution. |

Related: #61
What Problem This Solves
Resolves the lack of Brazilian Portuguese (pt-BR) localization in OpenClaw Windows Node.
Brazilian Portuguese users currently need to use the application in English, which makes onboarding, settings, diagnostics, permissions, notifications, and other user-facing workflows less accessible.
Why This Change Was Made
This change introduces an initial Brazilian Portuguese localization covering the application's user interface and major workflows.
Technical terms such as Node, Gateway, MCP, JSON, and PATH were preserved where appropriate to maintain consistency with the product and technical documentation.
User Impact
Brazilian Portuguese users can now use OpenClaw Windows Node in their native language across most of the application interface, including:
Evidence
pt-BR) localization resources.Change Type
Scope
winnodeValidation
Localization resources were reviewed for:
{0},{1}, etc.)Real Behavior Proof
No)Security Impact
No)No)No)No)No)Compatibility and Migration
Yes)No)No)Review Conversations